package com.zzq.calcgame.entity;

/**
 * 试卷
 */
public class Papers {
    int id;
    long createTime;//创建时间
    int totalScore;//总分
    int wrongCount;//错误个数

    int questionCount;//题目总数
    public Papers(){
        createTime=System.currentTimeMillis();
        totalScore=0;
        wrongCount=0;
        questionCount=0;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(int totalScore) {
        this.totalScore = totalScore;
    }

    public int getWrongCount() {
        return wrongCount;
    }

    public void setWrongCount(int wrongCount) {
        this.wrongCount = wrongCount;
    }

    public int getQuestionCount() {
        return questionCount;
    }

    public void setQuestionCount(int questionCount) {
        this.questionCount = questionCount;
    }

    @Override
    public String toString() {
        return "Papers{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", totalScore=" + totalScore +
                ", wrongCount=" + wrongCount +
                ", questionCount=" + questionCount +
                '}';
    }
}
